<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2020/9/10
  Time: 11:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<c:if test="${loginFlag != null}">
    <script>
        alert("用户名不存在！")
    </script>
</c:if>

<c:if test="${passwordFlag != null}">
    <script>
        alert("密码不正确！")
    </script>
</c:if>


<!DOCTYPE html>
<html>
<head lang="en">

    <title>系统登录 - 超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="statics/css/style.css" />

</head>
<body>
<section class="loginBox">
    <header class="loginHeader">
        <h1>超市订单管理系统</h1>
    </header>
    <section class="loginCont">
        <form class="loginForm" action="login"  method="post">
            <div class="info"></div>
            <div class="inputbox">
                <label >用户名：</label>
                <input type="text" class="input-text" name="username" placeholder="请输入用户名" required/>
            </div>
            <div class="inputbox">
                <label >密码：</label>
                <input type="password" name="password" placeholder="请输入密码" required/>
            </div>
            <div class="subBtn">
                <input type="submit" value="登录"/>
                <input type="reset" value="重置"/>
            </div>
        </form>
    </section>
</section>
</body>
</html>
